<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://g.alicdn.com/de/prismplayer/2.8.1/skins/default/aliplayer-min.css" />
    <script charset="utf-8" type="text/javascript" src="https://g.alicdn.com/de/prismplayer/2.8.1/aliplayer-min.js"></script>
</head>
<body>
    <div  class="prism-player" id="J_prismPlayer"></div>
    <script>
        var player = new Aliplayer({
            id: 'J_prismPlayer',
            width: '100%',
            autoplay: false,
            cover: 'http://liveroom-img.oss-cn-qingdao.aliyuncs.com/logo.png',  
            //播放配置
            encryptType:'1',//如果播放加密视频，则需设置encryptType=1，非加密视频无需设置此项
            vid : 'dc2e55c7488043a98ebc32a619b9ac8b',
            playauth : 'eyJTZWN1cml0eVRva2VuIjoiQ0FJU2h3TjFxNkZ0NUIyeWZTaklyNWFBUGQ3MXJ1ZFJ4cFdxTjArQ3RHNW1WT3BJcDdEYXNEejJJSDFFZm5sb0FPa2FzUHd6bFd0UjZmd2Vsck1xRThZVUdCMllOcFFvdGNrUHExMzVKcExGc3QySjZyOEpqc1VQa3BCeDRWbXBzdlhKYXNEVkVmbDJFNVhFTWlJUi8wMGU2TC8rY2lyWXBUWEhWYlNDbFo5Z2FQa09Rd0M4ZGtBb0xkeEtKd3hrMnQxNFVtWFdPYVNDUHdMU2htUEJMVXhtdldnR2wyUnp1NHV5M3ZPZDVoZlpwMXI4eE80YXhlTDBQb1AyVjgxbExacGxlc3FwM0k0U2M3YmFnaFpVNGdscjhxbHg3c3BCNVN5Vmt0eVdHVWhKL3phTElvaXQ3TnBqZmlCMGVvUUFQb3BGcC9YNmp2QWF3UExVbTliWXhncGhCOFIrWGo3RFpZYXV4N0d6ZW9XVE84MCthS3p3TmxuVXo5bUxMZU9WaVE0L1ptOEJQdzQ0RUxoSWFGMElVRXh6Rm1xQ2QvWDRvZ3lRTzE3eUdwTG9p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mE2MTliOWFjOGIvc25hcHNob3RzL2UzNWRhMTQ3NWFhNjRkYTI5ODU4ZTU5YThiODEyMWJjLTAwMDAxLmpwZz9FeHBpcmVzPTE2MTU0NjU4MjAmT1NTQWNjZXNzS2V5SWQ9TFRBSTNEa3h0c2JVeU5ZViZTaWduYXR1cmU9TU5KTmVUbmZSRjNkVktoSktTaTVNdHo3enBjJTNEIiwiRHVyYXRpb24iOjE2LjI3Njd9LCJBY2Nlc3NLZXlJZCI6IlNUUy5OVTV2ZEFDOHBxV0E1aTNQbjNYZWRIdXFSIiwiQWNjZXNzS2V5U2VjcmV0IjoiQm0yMXZYc0IzYjFqMWRTaUtaMmQ5QmlyaFpzUXlWeTlKWGNzS3hCa1M2amUiLCJSZWdpb24iOiJjbi1zaGFuZ2hhaSIsIkN1c3RvbWVySWQiOjEwMTk1OTQzNzAzNTAyNjB9',
        },function(player){
            console.log('播放器创建好了。')
        });
    </script>
</body>
</html>